<%@ page 
		language="java" 
		contentType="text/html; charset=UTF-8"
    	pageEncoding="UTF-8"%>
<%@ page errorPage="error.jsp" %>   
<!DOCTYPE html>
<html>
<head>
	<title>Main menu</title>
    <title>Routes displaying page</title>
    <link rel="stylesheet" href="styles.css">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <script src="//api-maps.yandex.ru/2.0/?load=package.full&lang=ru-RU" type="text/javascript"></script>

	<script type="text/javascript" src="js/forMain.js">
	</script>
</head>

<body>
	<div id="map" style="width:800px; height:600px"></div>	
	<div id="main-menu-content">
		<form action="main/addingPoints.jsp">
			<input type="submit" value="Add\delete some points"/>
		</form>
		<form action="main/addingRoutes.jsp">
			<input type="submit" value="Add\delete some routes"/>
		</form>
		<form action="main/createDB.jsp">
			<input type="submit" value="Reset database"/>
		</form>
		<form action="main/findPath.jsp">
			<table>
				<tr>
					<td>Latitude 1</td>
					<td><input id="latInput1" name="latitude1" type="text" placeholder="latitude" value=""/></td>
				</tr>	
				<tr>
					<td>Longitude 1</td>
					<td><input id="lonInput1" name="longitude1" type="text" placeholder="longitude" value=""/></td>
				</tr>
				<tr>
					<td>Latitude 2</td>
					<td><input id="latInput2" name="latitude2" type="text" placeholder="latitude" value=""/></td>
				</tr>	
				<tr>
					<td>Longitude 2</td>
					<td><input id="lonInput2" name="longitude2" type="text" placeholder="longitude" value=""/></td>
				</tr>		
			</table>
			<input type="submit" value="Find path"/>
		</form>
	</div>
</body>
</html>